package com.mbc.rmt.manager;

import java.sql.Connection;
import java.util.Date;

import com.mbc.common.manager.AbstractMgr;
import com.mbc.rmt.dao.CashReceivedSerialDAO;
import com.mbc.rmt.dao.RemittanceDAOFactory;

public class CashReceivedSerialMgr extends AbstractMgr {
	
	public static String generateCashReceivedNo(Connection conn, long branchId, Date rmtDate)throws Exception{
		CashReceivedSerialDAO l_crsDAO = RemittanceDAOFactory.getCashReceivedSerialDAO(conn);
		return l_crsDAO.getSerialNumber(branchId, rmtDate);
	}
	
}
